<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html:html lang="true">
  <head>
    <html:base />   
    <title><bean:message key="default.title"/></title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
     <script type="text/javascript" src="<%=request.getContextPath() %>/javascript/components/prototype/prototype.js"></script>
     <script type="text/javascript" src="<%=request.getContextPath() %>/javascript/components/yui/yahoo/yahoo-min.js"></script>
     <script type="text/javascript" src="<%=request.getContextPath() %>/javascript/components/yui/event/event-min.js"></script>
     <script type="text/javascript" src="<%=request.getContextPath() %>/javascript/components/yui/dom/dom-min.js"></script>
     <script type="text/javascript" src="<%=request.getContextPath() %>/javascript/components/yui/element/element-beta-min.js"></script>
     <script type="text/javascript" src="<%=request.getContextPath() %>/javascript/components/yui/button/button-min.js"></script>
     <script type="text/javascript" src="<%=request.getContextPath() %>/javascript/components/yui/dragdrop/dragdrop-min.js"></script>
     <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/jmesa/jmesa.css" />
  </head>
  
  <body>
     
     <div class="placeHolder" id="placeHolder">
       <img src="/images/loading.gif"/><bean:message key="loading.default"/>
     </div>
     
     <script type="text/javascript">
      function showTableOfProject(originalRequest) {
        $('placeHolder').innerHTML = originalRequest.responseText;
      }
      function buildTableOfProject() {
       var url = '${pageContext.request.contextPath}'+"/project/list.do";
       
       var  myAjax = new Ajax.Request(
       url,
        { method:'get',
          onComplete:showTableOfProject
        });
    
      }
      
      YAHOO.util.Event.addListener(window,'load',buildTableOfProject());
     </script>
  </body>
</html:html>
